#$Id: PKGBUILD 69252 2012-04-11 04:23:34Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=nickle
pkgver=2.70
pkgrel=2
pkgdesc="A programming language based prototyping environment with powerful programming and scripting capabilities"
arch=('i686' 'x86_64')
url="http://nickle.org"
license=('custom')
depends=('readline')
source=(http://nickle.org/release/${pkgname}-${pkgver}.tar.gz)
md5sums=('fbb77ad1c6f80a9a67ae28a2a678ed67')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
